package com.bugk.pojo;

import org.springframework.beans.factory.FactoryBean;

public class FactoryBeanDemo implements FactoryBean<FactoryBeanDemo> {
	@Override
	public FactoryBeanDemo getObject() throws Exception {
		return new FactoryBeanDemo();
	}

	@Override
	public Class<FactoryBeanDemo> getObjectType() {
		return FactoryBeanDemo.class;
	}

	@Override
	public boolean isSingleton() {
		return FactoryBean.super.isSingleton();
	}
}
